package com.kssoft.ebd.service;


import com.kssoft.ebd.common.Broadcast;
import com.kssoft.ebd.spider.common.NullCookiesException;

import java.io.IOException;
import java.util.List;

public interface XydBroadcastService {

    String heartbeat();
    /**
     * 开播页
     */
    String startBroadcast(Broadcast broadcast);
    /**
     * 关播主页
     */
    String closeBroadcast(Broadcast  broadcast);

    /**
     * 获取广播的状态
     */
    Broadcast getXydBroadcast(String broadcastId);
    /**
     * 获取正在直播的广播
     */
    List<Broadcast> getXydPayingBroadcastList();
}
